package com.hl.springboothome1.mapper;

import com.hl.springboothome1.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ArticleMapper {
    int add(Article article);
    int deleteById(int id);
    int deleteBatch(List list);
    int update(Article article);
    Article selectById(int id);
    List<Article> selectAll(Article article);
}
